package com.itmk.business.articleCategory.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itmk.business.articleCategory.entity.ArticleCategory;
import com.itmk.business.articleCategory.mapper.ArticleCategoryMapper;
import com.itmk.business.articleCategory.service.ArticleCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ArticleCategoryServiceImpl
        extends ServiceImpl<ArticleCategoryMapper, ArticleCategory>
        implements ArticleCategoryService {

    @Autowired
    private ArticleCategoryMapper articleCategoryMapper;
    @Override
    public ArticleCategory getCategoryByName(String categoryname) {
        return this.baseMapper.getCategoryByname(categoryname);
    }
}
